* xfns.c (Fx_create_frame): Use an XLFD name for the default font,
authorJim Blandy <jimb@redhat.com>
Mon, 10 May 1993 23:31:01 +0000 (23:31 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 10 May 1993 23:31:01 +0000 (23:31 +0000)
instead of "9x15" or whatever it was.

src/xfns.c

index a02e20de41990f1508c493a64bb7eec550fef2b9..0ace204ec662bdf300e6b0ce1e14d4ce374d45f0 100644 (file)
@@ -1870,7 +1870,12 @@ be shared by the new frame.")
 
   /* Extract the window parameters from the supplied values
      that are needed to determine window geometry.  */
-  x_default_parameter (f, parms, Qfont, build_string ("9x15"),
+  x_default_parameter (f, parms, Qfont, 
+                      build_string
+                      /* If we use an XLFD name for this font, the lisp code
+                         knows how to find variants which are bold, italic,
+                         etcetera.  */
+                      ("-*-fixed-*-*-*-*-*-120-*-*-c-*-iso8859-1"),
                       "font", "Font", string);
   x_default_parameter (f, parms, Qborder_width, make_number (2),
                       "borderwidth", "BorderWidth", number);